package com.baizhi.entity;

public class Hero {
    private int id;
    private String name;
    private String weapon;
    private String atk;

    @Override
    public String toString() {
        return "Hero{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", weapon='" + weapon + '\'' +
                ", atk='" + atk + '\'' +
                '}';
    }

    public Hero() {
    }

    public Hero(int id, String name, String weapon, String atk) {
        this.id = id;
        this.name = name;
        this.weapon = weapon;
        this.atk = atk;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWeapon() {
        return weapon;
    }

    public void setWeapon(String weapon) {
        this.weapon = weapon;
    }

    public String getAtk() {
        return atk;
    }

    public void setAtk(String atk) {
        this.atk = atk;
    }
}
